package com.example.security.entity;

public class TokenBean {
	
	private String type;
	
	private long expire;
	
	private String accessToken;

	public TokenBean() {
		this.type="bearer"; 
		this.expire=30*60*1000;
	}
	public TokenBean(String token_type,long expire_in,String token) {
		this.type=token_type;
		this.expire=expire_in;
		this.accessToken=token;
		
	}
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public long getExpire() {
		return expire;
	}

	public void setExpire(long expire) {
		this.expire = expire;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}
	
	
	

}
